print("枚举类################################################## start")
from enum import Enum

Month = Enum('Month', ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'))

print(Month.Apr)
print(Month(4))
print(Month.Apr.name)
print(Month.Apr.value)

for name, member in Month.__members__.items():
    print(name, "--", member, ',', member.value)
print("枚举类##################################################end\n")
